﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;
namespace Thaire.Investment.Repository.Mapping
{
    class InvolvedPartyTypeMap : ClassMap<InvolvedPartyType>
    {

        public InvolvedPartyTypeMap()
        {
            Table("INVOLVED_PARTY_TYPE");
            Id(x => x.InvolvedPartyTypeId, "INVOLVED_PARTY_TYPE_ID").GeneratedBy.Native();

            Map(x => x.InvolvedPartyTypeCode, "INVOLVED_PARTY_TYPE_CODE");
            Map(x => x.InvolvedPartyTypeName, "INVOLVED_PARTY_TYPE_NAME");
            Map(x => x.InvolvedPartyTypeDesc, "INVOLVED_PARTY_TYPE_DESC");
            Map(x => x.InvolvedPartyTypeReference, "INVOLVED_PARTY_TYPE_REFERENCE");
            
        }


    }
}
